package com.xmg.p2p.base.domain;

import java.util.HashMap;
import java.util.Map;

import com.alibaba.fastjson.JSONObject;
import com.xmg.p2p.base.util.JSONResult;

import lombok.Getter;
import lombok.Setter;

/**
 * 数据字典明细
 * 
 * 
 */
@Getter
@Setter
public class SystemDictionaryItem extends BaseDomain {

	private Long parentId;
	private String title;
	private int sequence;

	public String  getJsonString(){
		Map<String ,Object> json = new HashMap<String,Object>();
		json.put("id", id);
		json.put("parentId", parentId);
		json.put("title", title);
		json.put("sequence", sequence);
		
		return JSONObject.toJSONString(json);
	}
	
}
